package
{
import com.societyGames.codeExercise.CodeExercise;

public function buyHats(count:int):void
{
  if (count < 0)
  {
    throw new ArgumentError("Argument count cannot be less than 0.", 1508);
  }
  CatsFunctionParameter(CodeExercise.instance).catSimulation.buyHats(count);
}
}